/**
 * 
 */
package com.blog.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author cloris
 *
 */
@Controller
@RequestMapping(value = "/home.do")
public class HomeController extends BaseAction{
	
	@RequestMapping(params = "tohome")
	public String returnHome(ModelMap modelMap){
		homeSiderData(null,modelMap);    
        return "/views/home/homeMenuShow.jsp";
	}

	@RequestMapping(params = "top")
	public String topPart(ModelMap modelMap){
		homeSiderData(null,modelMap);    
        return "/views/header.jsp";
	}
	@RequestMapping(params = "content")
	public String contentPart(ModelMap modelMap){
		homeSiderData(null,modelMap);    
        return "/views/home/homeMenuShow.jsp";
	}
	@RequestMapping(params = "right")
	public String rightPart(ModelMap modelMap){
		homeSiderData(null,modelMap);    
        return "/views/left.jsp";
	}
	
}
